package com.ytc.mine.service.Impl;

import com.ytc.mine.mapper.ResumeMapper;
import com.ytc.mine.model.Resume;
import com.ytc.mine.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ResumeServiceImpl implements ResumeService {

    @Autowired
    private ResumeMapper resumeMapper;

    @Override
    public void addResume(Resume resume){
        resumeMapper.addResume(resume);
    }

    @Override
    public void updateResume(Resume resume){
        resumeMapper.updateResume(resume);
    }

    @Override
    public Resume getResume(Integer userId){
        return resumeMapper.getResume(userId);
    }
}
